import Vue from 'vue'
import Vuex, { Store } from 'vuex'

Vue.use(Vuex)

const store = new Vuex.Store({
  state: {
    banner:null,
    username:null
  },
  mutations: {
    changebanner(state,payload){
      state.banner = payload;
    },
    changeusername(state,payload){
      state.username = payload
    }
  },
  actions: {
  },
  modules: {
  }
})

export default store;